package pl.andytest;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class MainActivity extends Activity
{
    @Override
    public void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
    }

    public void showSubActivityClicked(View v)
    {
        final Intent targetIntent = new Intent(Intent.ACTION_VIEW);
        targetIntent.addCategory("pl.andytest.SUB_ACTIVITY");
        startActivity(targetIntent);
    }
}
